package com.cgly.medical.service;

import com.cgly.medical.domain.Material;
import com.cgly.medical.util.Msg;
import org.apache.ibatis.annotations.Param;


public interface MaterialService {

    //查询所有必备材料
    Msg getAllMaterial(Integer page, Integer limit);

    //根据条件查询必备材料信息：模糊查询
    Msg selectSomeMaterial(Material material);

    //根据id查找必备材料
    Msg selectMaterialById(Integer id);

    //插入一条必备材料
    Msg insertMaterial(Material material);

    //修改一条必备材料
    Msg updateMaterial(Material material);

    // 删除城市信息
    Msg deleteMaterialById(Integer id);
}
